package com.kili.cloud.common.exception;

import com.kili.common.Exception.ErrorCode;
import com.kili.common.Exception.ExceptionType;

/**
 * @description: 异常ErrorCode定义
 * @author: tom.liu
 * @date: 2019/6/20 17:56
 */
public class CommonErrorCode implements ErrorCode {

    private ExceptionType type;

    private String code;

    private String description;

    @Override
    public ExceptionType getType() {
        return this.type;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDescription() {
        return this.description;
    }

    public void setType(ExceptionType type) {
        this.type = type;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
